package com.gccloud.design.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @ClassName : StfBusinessTypeEntity
 * @Author : sulei
 * @Date : 2020/12/23 09:33
 * @Description :
 */
@Data
@Accessors(chain = true)
@TableName("bwp_business_type")
@ApiModel
@ToString(callSuper = true)
public class StfBusinessTypeEntity extends SuperEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "编码")
    private String code;

    @ApiModelProperty(notes = "层级")
    private String leafNode;

    @ApiModelProperty(notes = "名称")
    private String name;

    @ApiModelProperty(notes = "序列")
    private String seq = "";

    @ApiModelProperty(notes = "排序")
    private Integer orderIndex = 0;

    @ApiModelProperty(notes = "父节点")
    private Integer parentId;

    @ApiModelProperty(notes = "业务系统租户注册ID")
    private Integer amId;

}
